package com.example.crm.mapper;

import com.example.crm.pojo.CstCustomer;
import com.example.crm.pojo.CstCustomerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CstCustomerMapper {
    long countByExample(CstCustomerExample example);

    int deleteByExample(CstCustomerExample example);

    int deleteByPrimaryKey(Long custId);

    int insert(CstCustomer row);

    int insertSelective(CstCustomer row);

    List<CstCustomer> selectByExample(CstCustomerExample example);

    CstCustomer selectByPrimaryKey(Long custId);

    int updateByExampleSelective(@Param("row") CstCustomer row, @Param("example") CstCustomerExample example);

    int updateByExample(@Param("row") CstCustomer row, @Param("example") CstCustomerExample example);

    int updateByPrimaryKeySelective(CstCustomer row);

    int updateByPrimaryKey(CstCustomer row);
}